package org.example.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

import java.util.ArrayList;
import java.util.List;

@Getter
@AllArgsConstructor
public enum BankCardTypeEnums {


    CARD_KIND("卡种类"),
    ASK_FOR("要求"),
    INFORMATION("资料"),
    FLOW("开户流程"),
    CUSTOMER_SERVICE("联系客户"),
    SUPPORT_OPEN_TYPE("支持的开户方式"),
    FORM("表单信息"),

    // 现场开户
    BUSINESS_TIME("营业时间"),
    RESERVE_TYPE("预约方式"),
    BRANCH_BANK("分行推荐"),

    APP_ENV("环境")
    ;
    String name;

    /**
     * 获取卡信息类型
     * @return
     */
    public static final List<BankCardTypeEnums> getIntroduceInfos(){
        List<BankCardTypeEnums> bankCardTypeEnums = new ArrayList<>();
        bankCardTypeEnums.add(BankCardTypeEnums.CARD_KIND);
        bankCardTypeEnums.add(BankCardTypeEnums.ASK_FOR);
        bankCardTypeEnums.add(BankCardTypeEnums.INFORMATION);
        bankCardTypeEnums.add(BankCardTypeEnums.FLOW);
        bankCardTypeEnums.add(BankCardTypeEnums.CUSTOMER_SERVICE);
        return bankCardTypeEnums;
    }


    /**
     * 获取现场开户
     * @return
     */
    public static final List<BankCardTypeEnums> getLocaleInfos(){
        List<BankCardTypeEnums> bankCardTypeEnums = new ArrayList<>();
        bankCardTypeEnums.add(BankCardTypeEnums.BUSINESS_TIME);
        bankCardTypeEnums.add(BankCardTypeEnums.RESERVE_TYPE);
        bankCardTypeEnums.add(BankCardTypeEnums.BRANCH_BANK);
        return bankCardTypeEnums;
    }
}
